﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TanPhu.Master" AutoEventWireup="true" CodeBehind="TimKiemNangCao.aspx.cs" Inherits="TanPhu.TimKiemNangCao" %>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <center>
    <div runat="server" id="Textbox" style="text-align:center; height: 30px; vertical-align:bottom;">
        <asp:TextBox ID="txtSearch" class="txtSearch" runat="server"
            ></asp:TextBox>
        

        <asp:ImageButton ID="ibtnSearch" onclick="btnSearch_Click"  class="btnSearch" runat="server" 
            BorderStyle="None" ImageAlign="Top" AlternateText=" " 
            ImageUrl="~/images/btnBG.png" />


    </div>

</center>
  <table width="100%">
  <tr>
  <td>
    <div id="DVu">
  <asp:SqlDataSource ID="SqlDataSourceDichVu" runat="server" 
          ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
          ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
          SelectCommand="SELECT * FROM [DICHVU]"></asp:SqlDataSource>
        <asp:CheckBox runat="server" ID="cbDVu" Text="Dịch Vụ:" TextAlign="Right" 
            oncheckedchanged="cbDVu_CheckedChanged" AutoPostBack="True" /> 
        <asp:DropDownList runat="server" ID="ddDvu" DataSourceID="SqlDataSourceDichVu" 
            DataTextField="TENDICHVU" DataValueField="MADICHVU" Enabled="false" Width="60%" 
            Height="21px"></asp:DropDownList>
  </div>
  </td>
  <td>
  <div id="phuong">
  <asp:SqlDataSource ID="SqlDataSourcePhuong" runat="server" 
          ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
          ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
          SelectCommand="SELECT * FROM [PHUONG]"></asp:SqlDataSource>
        <asp:CheckBox runat="server" ID="cbPhuong" Text="Phường:" TextAlign="Right" 
          oncheckedchanged="cbPhuong_CheckedChanged" AutoPostBack="True" /> 
        <asp:DropDownList runat="server" ID="ddPhuong" 
          DataSourceID="SqlDataSourcePhuong" DataTextField="TENPHUONG" 
          DataValueField="MAPHUONG" Enabled="false" Width="58%" Height="21px"></asp:DropDownList>
  </div>
  </td>
  <td>
  <div id="Quan">
  <asp:SqlDataSource ID="SqlDataSourceQuan" runat="server" 
          ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
          ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
          SelectCommand="SELECT * FROM [QUANHUYEN]"></asp:SqlDataSource>
        <asp:CheckBox runat="server" ID="cbQuan" Text="Quận/Huyện:" TextAlign="Right" 
          oncheckedchanged="cbQuan_CheckedChanged" AutoPostBack="True" /> 
        <asp:DropDownList runat="server" ID="ddQuan" DataSourceID="SqlDataSourceQuan" 
          DataTextField="TENQUANHUYEN" DataValueField="MAQUANHUYEN" Enabled="false" 
          Width="50%" Height="18px"></asp:DropDownList>
  </div>
  </td>
  </tr>
  </table>
</asp:Content>
